<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>挂牌卖出</title>
<script type="text/javascript" src="../scripts/itsm/system/sellMain.js"></script>
</head>
<body>
<div id="sellMainGridToolbar" style="padding: 0px;display: none;">
&nbsp;<a onclick="itsm.system.sellMain.openAddWin()" class="easyui-linkbutton" id="sellMainGrid_add" icon="icon-add" plain="true">添加</a>
<a onclick="itsm.system.sellMain.openEditWin()" class="easyui-linkbutton" id="sellMainGrid_edit" icon="icon-edit" plain="true">修改</a>
<a onclick="itsm.system.sellMain.deleteSell()" class="easyui-linkbutton" id="sellMainGrid_del" icon="icon-cancel" plain="true">删除</a>
<a onclick="itsm.system.sellMain.openSearchWin()" class="easyui-linkbutton" id="sellMainGrid_search" icon="icon-search" plain="true">搜索</a>
</div>
<table id='sellMainGrid'></table>
<div id='sellMainPager'></div>

<%-- 添加、编辑 --%>
<div title="添加/编辑挂牌卖出" id="sellMain_add_win" class="easyui-window" closed="true" collapsible="false" modal="true" minimizable="false" maximizable="false" collapsible="false" style="width:400px; height:auto;padding:3px">
	<form id="sellMain_add_form">
	<input name="sellDTO.sellId" id="sellMain_sellId" type="hidden" />
	<table>
		<tr>
			<td>玩家账号</td>
			<td><input name="sellDTO.loginName" id="sellMain_loginName" /></td>
		</tr>
		<tr>
			<td>待处理股数</td>
			<td><input name="sellDTO.pendingSellShare" id="sellMain_pendingSellShare"/></td>
		</tr>
		
		<tr>
			<td>挂牌卖出股</td>
			<td><input name="sellDTO.sellShare" id="sellMain_sellShare"/></td>
		</tr>
		<tr>
			<td>挂牌卖出价格</td>
			<td><input name="sellDTO.sellPrice" id="sellMain_sellPrice"/></td>
		</tr>
		<tr>
			<td>已卖出股</td>
			<td><input name="sellDTO.alreadySellShare" id="sellMain_alreadySellShare"/></td>
		</tr>
		<tr>
			<td>剩余股</td>
			<td><input name="sellDTO.surplusSellShare" id="sellMain_surplusSellShare"/></td>
		</tr>
		<tr>
			<td>时间</td>
			<td><input name="sellDTO.sellDate" id="sellMain_sellDate"/></td>
		</tr>
		<tr>
			<td colspan="2">
				<a class="easyui-linkbutton" icon="icon-save" href="javascript:itsm.system.sellMain.saveSell()">保存</a>
			</td>
		</tr>
	</table>
	</form>
</div>

<%-- 搜索  --%>
<div title="规则搜索 " id="sellMain_search_win" class="easyui-window" closed="true" collapsible="false" modal="false" minimizable="false" maximizable="false" collapsible="false" style="width:400px; height:auto;padding:3px">
	<form id="sellMain_search_form">	
	<table>
		<tr>
			<td>玩家账号</td>
			<td><input name="sellDTO.loginName" class="input" /></td>
		</tr>
		
		<tr>
			<td colspan="2">
				<a class="easyui-linkbutton" icon="icon-save" href="javascript:itsm.system.sellMain.searchSell()">搜索</a>
			</td>
		</tr>
	</table>
	</form>
</div>


</body>
</html>